package ${groupId}.service.system.user.dto;

import lombok.Data;

import java.util.Date;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;

import io.swagger.v3.oas.annotations.media.Schema;

@Data
public class BossUserAddItemReqDto {
	/**
	 * (boss_user)
	 */
	@Schema(description = "")
	private Date createTime;
	/**
	 * (boss_user)
	 */
	@Schema(description = "")
	private Long id;
	/**
	 * 是否锁定(boss_user)
	 */
	@Schema(description = "是否锁定")
	private Boolean isLocked = false;
	/**
	 * 昵称/备注名(boss_user)
	 */
	@Schema(description = "昵称/备注名")
	@Size(min = 0,max = 20,message ="nick字段超过限长（20）")
	private String nick;
	/**
	 * 密码(boss_user)
	 */
	@Schema(description = "密码")
	@Size(min = 0,max = 100,message ="password字段超过限长（100）")
	private String password;
	/**
	 * 电话号码(boss_user)
	 */
	@Schema(description = "电话号码")
	@Size(min = 0,max = 20,message ="phone字段超过限长（20）")
	private String phone;
	/**
	 * (boss_user)
	 */
	@Schema(description = "")
	private Date updateTime;
	/**
	 * 用户名(boss_user)
	 */
	@Schema(description = "用户名")
	@Size(min = 0,max = 20,message ="userName字段超过限长（20）")
	private String userName;
	/**
	 * 外键-用户权限关系ID(boss_user)
	 */
	@Schema(description = "外键-用户权限关系ID")
	private Long userRoleId;
}